package cn.wolfcode.service;

import cn.wolfcode.domain.Emp;
import cn.wolfcode.domain.Result;
import cn.wolfcode.domain.pageBean;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public interface EmpService {
    pageBean page(Integer page, Integer pageSize, String name, Integer gender, Date begin, Date end);

    void delete(List<Long> ids);

    void add(Emp emp);

    Emp selById(Long id);

    void update(Emp emp);

    Result login(Emp emp);
}
